//
//  ViewController.m
//  联系
//
//  Created by mac on 2016/10/30.
//  Copyright © 2016年 www. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end
//////
@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    int a,b,*c;
    a = 4;
    b = 5;
    *c = 6;
    
    int *aa,*bb;
    aa = &a;
    bb = &b;
    NSLog(@"%d",*bb);

    bb=c;
    NSLog(@"%d",*aa);
    NSLog(@"%d",a);
    NSLog(@"%d",*bb);
    NSLog(@"%d",*c);
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
